package com.liao.ticket.util;

import com.liao.ticket.dao.dos.ViewManager;

public class AirlineThreadLocal {
    private AirlineThreadLocal(){}

    private static final ThreadLocal<ViewManager> LOCAL = new ThreadLocal<>();

    public static void put(ViewManager user) {
        LOCAL.set(user);
    }

    public static ViewManager get() {
        return LOCAL.get();
    }

    public static void remove() {
        LOCAL.remove();
    }
}
